home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / NET / DATALINK.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  403b  |  17 lines

  1. #ifndef _NET_INET_DATALINK_H_
  2. #define _NET_INET_DATALINK_H_
  3.  
  4. struct datalink_proto {
  5.     unsigned short    type_len;
  6.     unsigned char    type[8];
  7.     const char    *string_name;
  8.     unsigned short    header_length;
  9.     int    (*rcvfunc)(struct sk_buff *, struct device *, 
  10.                 struct packet_type *);
  11.     void    (*datalink_header)(struct datalink_proto *, struct sk_buff *,
  12.                     unsigned char *);
  13.     struct datalink_proto    *next;
  14. };
  15.  
  16. #endif
  17.